\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+weather.\+util.\+Utility类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility}\index{com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}}
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aa9a3d4cb96c634c3c943c447061dc642}{handle\+Province\+Response}} (String response)
\item 
static boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aaf32ef3c1a67dcfe516f7d00fb22b1b8}{handle\+City\+Response}} (String response, int province\+Id)
\item 
static boolean \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_adcbceac496134d24f05c2714d54423b6}{handle\+County\+Response}} (String response, int city\+Id)
\item 
static \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1gson_1_1_weather}{Weather}} \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_a67f669cea8b9ab2629d9ea6659b99ffd}{handle\+Weather\+Response}} (String response)
\end{DoxyCompactItemize}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aaf32ef3c1a67dcfe516f7d00fb22b1b8}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aaf32ef3c1a67dcfe516f7d00fb22b1b8}} 
\index{com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}!handleCityResponse@{handleCityResponse}}
\index{handleCityResponse@{handleCityResponse}!com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}}
\subsubsection{\texorpdfstring{handleCityResponse()}{handleCityResponse()}}
{\footnotesize\ttfamily static boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+weather.\+util.\+Utility.\+handle\+City\+Response (\begin{DoxyParamCaption}\item[{String}]{response,  }\item[{int}]{province\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

解析和处理服务器返回的市级数据 \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_adcbceac496134d24f05c2714d54423b6}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_adcbceac496134d24f05c2714d54423b6}} 
\index{com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}!handleCountyResponse@{handleCountyResponse}}
\index{handleCountyResponse@{handleCountyResponse}!com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}}
\subsubsection{\texorpdfstring{handleCountyResponse()}{handleCountyResponse()}}
{\footnotesize\ttfamily static boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+weather.\+util.\+Utility.\+handle\+County\+Response (\begin{DoxyParamCaption}\item[{String}]{response,  }\item[{int}]{city\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

解析和处理服务器返回的县级数据 \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aa9a3d4cb96c634c3c943c447061dc642}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_aa9a3d4cb96c634c3c943c447061dc642}} 
\index{com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}!handleProvinceResponse@{handleProvinceResponse}}
\index{handleProvinceResponse@{handleProvinceResponse}!com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}}
\subsubsection{\texorpdfstring{handleProvinceResponse()}{handleProvinceResponse()}}
{\footnotesize\ttfamily static boolean com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+weather.\+util.\+Utility.\+handle\+Province\+Response (\begin{DoxyParamCaption}\item[{String}]{response }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

解析和处理服务器返回的省级数据 \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_a67f669cea8b9ab2629d9ea6659b99ffd}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1util_1_1_utility_a67f669cea8b9ab2629d9ea6659b99ffd}} 
\index{com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}!handleWeatherResponse@{handleWeatherResponse}}
\index{handleWeatherResponse@{handleWeatherResponse}!com.example.akisame\_lin.love\_air2.weather.util.Utility@{com.example.akisame\_lin.love\_air2.weather.util.Utility}}
\subsubsection{\texorpdfstring{handleWeatherResponse()}{handleWeatherResponse()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1weather_1_1gson_1_1_weather}{Weather}} com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+weather.\+util.\+Utility.\+handle\+Weather\+Response (\begin{DoxyParamCaption}\item[{String}]{response }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

将返回的\+J\+S\+O\+N数据解析成\+Weather实体类 

该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/weather/util/\mbox{\hyperlink{java_2com_2example_2akisame__lin_2love__air2_2weather_2util_2_utility_8java}{Utility.\+java}}\end{DoxyCompactItemize}
